export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  columnBtn: false,
  "viewBtn": true,
  "delBtn": true,
  "selection": true,
  "selectable": (row, index)=>{
    return row.status != 3
  },
  "column": [
	  {
      "hide": true,
      "type": "input",
      "label": "ID",
      "prop": "id",
      "display": false
    },	  {
      "type": "input",
      "label": "工号",
      "prop": "userCode",
      "formslot": true,
      "search": true
    },	  {
      "type": "input",
      "label": "姓名",
      "prop": "userName",
      "search": true,
      "addDisabled": true,
      "placeholder": " "
    },	  {
      "type": "select",
      "label": "线路名称",
      "prop": "lineName",
      props: {
        label: 'name',
        value: 'code'
      },
      cascaderItem: ["stationCode"],
      dicUrl: "/support/swparamline/dict",
      "addDisabled": true,
      "placeholder": " "
    },	  {
      "type": "select",
      "label": "车站名称",
      "prop": "station",
      "addDisabled": true,
      "placeholder": " ",
      props: {
        label: 'name',
        value: 'code'
      },
      dicUrl: "/support/swparamstation/dict/{{key}}"
    },	  {
      "type": "input",
      "label": "发起人名称",
      "prop": "createUser",
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "现有角色",
      "prop": "newRole",
      "formslot": true,
      "rules": [{
        required: true,
        message: "请选择现有角色"
      }]
    },	  {
      "type": "input",
      "label": "原有角色",
      "prop": "oldRole",
      "formslot": true,
      "addDisabled": true,
      "placeholder": " "
    },	  {
      "type": "select",
      "label": "状态",
      "prop": "status",
      search: true,
      "addDisplay": false,
      "editDisplay": false,
      "dicData": [{
        label: '未提交',
        value: 1
      },{
        label: '待审批',
        value: 2
      },{
        label: '审批通过',
        value: 3
      },{
        label: '审批不通过',
        value: 4
      }]
    },	  {
      "hide": true,
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "hide": true,
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "hide": true,
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      "span": 24
    },	  {
      "hide": true,
      "type": "input",
      "label": "审批人",
      "prop": "checkedUser",
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "hide": true,
      "type": "input",
      "label": "审批意见",
      "prop": "checkerRemark",
      "addDisplay": false,
      "editDisplay": false
    }  ]
}
